package com.chinaunicom.group.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.chinaunicom.group.dao.GroupAreaMapper;
import com.chinaunicom.group.model.GroupArea;
import com.chinaunicom.group.service.IGroupAreaService;

@Service
public class GroupAreaServiceImpl implements IGroupAreaService {

	@Resource
	GroupAreaMapper dao;
	
	@Override
	public int insert(GroupArea record) {
		// TODO Auto-generated method stub
		return dao.insert(record);
	}

	@Override
	public int insertSelective(GroupArea record) {
		// TODO Auto-generated method stub
		return dao.insertSelective(record);
	}

	@Override
	public List<GroupArea> queryByCityId(Integer cityid) {
		// TODO Auto-generated method stub
		return dao.queryByCityId(cityid);
	}

	@Override
	public List<GroupArea> queryByGroupCityName(String groupcity) {
		// TODO Auto-generated method stub
		return dao.queryByGroupCityName(groupcity);
	}

	@Override
	public List<GroupArea> queryAll() {
		// TODO Auto-generated method stub
		return dao.queryAll();
	}

}
